package main

import (
	"fmt"
	"strings"
)

func main() {
	var str1 string = "lqz is Nb,lqz is handsome"
	fmt.Println(strings.Split(str1, ",")) // [lqz is Nb      lqz is handsome]
	for _, v := range strings.Split(str1, ",") {
		fmt.Println(v)
	}
	fmt.Println(strings.Join([]string{"lqz", "is", "NB"}, " ")) // lqz is NB
}
